package lab2;

import java.io.Serializable;
import java.math.BigInteger;

public class ResultMessage implements Serializable {
    private static final long serialVersionUID = -6065578273626197783L;

    private BigInteger result;
    private BigInteger input;
    private BigInteger cycles;
    private long cpuTime;
    
    //commiten hier
    
    public ResultMessage(BigInteger result, BigInteger n, BigInteger cycles, long cpuTime) {

        this.result = result;
        this.input = n;
        this.cycles = cycles;
        this.cpuTime = cpuTime;
    }

    public BigInteger getResult() {
        return this.result;
    }
    
    public BigInteger getInput() {
        return this.input;
    }

    public BigInteger getCycles() {
        return this.cycles;
    }

    public long getCpuTime() {
        return cpuTime;
    }


}